//
//  CoreDataManager.h
//  Lesson_5_记事本
//
//  Created by Alex on 16/5/31.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CoreDataManager : NSObject

+ (instancetype)shareCoreDataManager;
//查询整个收藏
- (NSArray *)selectAllCollectionModel;
//查看有没有已经存在的阅读收藏
- (BOOL)isContainsReadWithReadID:(NSNumber *)ReadID;
//根据ReadID去删除一个收藏
- (void)deleteCollectionModelWithReadID:(NSNumber *)ReadID;
// 插入
- (void)insertCollectionModelWithReadModel:(ReadListModel *)model html:(NSString *)html;

@end
